package com.hongdee.scm.serialnumber.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 流水号
 * Created by Mr. Xu on 2017/6/24.
 */
@Entity
@Table(name = "T_Serial_Number")
public class TSerialNumber extends BaseEntity{
    /**
     * 流水号时间
     */
    @Column(name = "serial_time", length=8, columnDefinition = " VARCHAR(8) COMMENT '流水号时间' ")
    private String serialTime;
    /**
     * 流水号
     */
    @Column(name = "serial_number", length=32, columnDefinition = " VARCHAR(32) COMMENT '流水号' ")
    private String serialNumber;
    /**
     * 类型
     */
    @Column(name = "type", length=1, columnDefinition = " VARCHAR(1) COMMENT '类型' ")
    private String type;

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSerialTime() {
        return serialTime;
    }

    public void setSerialTime(String serialTime) {
        this.serialTime = serialTime;
    }
}
